You are here:
Symbol Reference >
Dew Namespace
>
Dew.Math Namespace
>
Classes
>
TOpenCLValue Class
>
TOpenCLValue Methods
>
TOpenCLValue.Log2 Method
Dew Math for .NET
TOpenCLValue.Log2 Method
TOpenCLValue Class
TOpenCLValue Members
Dew.Math Namespace
TOpenCLValue Methods
Example
See Also
Collapse All
Log base 2.
Syntax
C#
Visual Basic
public
TOpenCLValue
Log2
([In]
TOpenCLValue
X
);
Public
Function
Log2
(
X
As
[In]
TOpenCLValue
)
As
TOpenCLValue
Remarks
Calculate the log base 2 of X.
See Also
Exp2
Example
using
Dew.Math
;
using
Dew.Math.Units
;
namespace
Dew.Examples() {
void
Example() {
TOpenCLValue
a,b; clMtxVec.CreateIt(
out
a,
out
b);
try
{ b.Copy(8); a.Log2(b); }
finally
{ clMtxVec.FreeIt(
ref
a,
ref
b); } } }
Group
TOpenCLValue Methods
Links
TOpenCLValue Class
,
TOpenCLValue Members
,
Dew.Math Namespace
,
TOpenCLValue Methods
,
Example
,
See Also
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
Contents
|
Index
|
Home
What do you think about this topic?
Send feedback!